import Http from "../utils/Http"
import url from "../utils/url"
import cache from "../utils/Cache"
class Model extends Http{
    getList(page = 1){
        return this.httpRequest({
            url:url.article,
            data:{page}
        });
    }
    datail(article){
        return this.httpRequest({
            url:url.article+"/"+article
        })
    }
}
export default new Model;